package com.xd.common.config.annotation;


import com.xd.common.config.redis.RedisConfig;
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * 开启Redis配置
 * @author hbx
 */
@Target({ ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Documented
@ImportAutoConfiguration(classes = RedisConfig.class)
public @interface EnableRedisConfig {
}
